﻿<Page x:Class="WinChrome.ModernDemo.View.Page2"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:viewModel="clr-namespace:WinChrome.ModernDemo.ViewModel" 
      xmlns:WinChrome="clr-namespace:WinChrome;assembly=WinChrome"
      xmlns:Local="clr-namespace:WinChrome.ModernDemo"
      mc:Ignorable="d" 
      d:DesignHeight="400" d:DesignWidth="600"      
	Title="Modern 2nd Page" d:DataContext="{d:DesignInstance Type=viewModel:RootViewModel}">
    <Grid Margin="12" >
        <StackPanel >
            <TextBlock FontSize="36" FontFamily="Segoe UI Light" Text="2"/>
            <TextBlock Text="Navigate between the three pages"/>
        </StackPanel>
        <Button VerticalAlignment="Bottom" HorizontalAlignment="Right" Content="Next" 
                Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Local:MainWindow}, Path=GoPage2Command}"/>
    </Grid>
</Page>
